Optimal. Leaf size=351 \[ \frac {5 b d^2 x^2 \sqrt {d-c^2 d x^2}}{256 c \sqrt {1-c^2 x^2}}-\frac {59 b c d^2 x^4 \sqrt {d-c^2 d x^2}}{768 \sqrt {1-c^2 x^2}}+\frac {17 b c^3 d^2 x^6 \sqrt {d-c^2 d x^2}}{288 \sqrt {1-c^2 x^2}}-\frac {b c^5 d^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}-\frac {5 d^2 x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{128 c^2}+\frac {5}{64} d^2 x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))+\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} (a+b \text {ArcSin}(c x))+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \text {ArcSin}(c x))+\frac {5 d^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{256 b c^3 \sqrt {1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.32, antiderivative size = 351, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 8, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {4787, 4783,
4795, 4737, 30, 14, 272, 45} \begin {gather*} -\frac {5 d^2 x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{128 c^2}+\frac {5}{64} d^2 x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} (a+b \text {ArcSin}(c x))+\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} (a+b \text {ArcSin}(c x))+\frac {5 d^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{256 b c^3 \sqrt {1-c^2 x^2}}+\frac {5 b d^2 x^2 \sqrt {d-c^2 d x^2}}{256 c \sqrt {1-c^2 x^2}}-\frac {59 b c d^2 x^4 \sqrt {d-c^2 d x^2}}{768 \sqrt {1-c^2 x^2}}-\frac {b c^5 d^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}+\frac {17 b c^3 d^2 x^6 \sqrt {d-c^2 d x^2}}{288 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 45
Rule 272
Rule 4737
Rule 4783
Rule 4787
Rule 4795
Rubi steps
\begin {align*} \int x^2 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right ) \, dx &=\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{8} (5 d) \int x^2 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right ) \, dx-\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right )^2 \, dx}{8 \sqrt {1-c^2 x^2}}\\ &=\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{16} \left (5 d^2\right ) \int x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \, dx-\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x \left (1-c^2 x\right )^2 \, dx,x,x^2\right )}{16 \sqrt {1-c^2 x^2}}-\frac {\left (5 b c d^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \left (1-c^2 x^2\right ) \, dx}{48 \sqrt {1-c^2 x^2}}\\ &=\frac {5}{64} d^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )+\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {\left (5 d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2 \left (a+b \sin ^{-1}(c x)\right )}{\sqrt {1-c^2 x^2}} \, dx}{64 \sqrt {1-c^2 x^2}}-\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (x-2 c^2 x^2+c^4 x^3\right ) \, dx,x,x^2\right )}{16 \sqrt {1-c^2 x^2}}-\frac {\left (5 b c d^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 \, dx}{64 \sqrt {1-c^2 x^2}}-\frac {\left (5 b c d^2 \sqrt {d-c^2 d x^2}\right ) \int \left (x^3-c^2 x^5\right ) \, dx}{48 \sqrt {1-c^2 x^2}}\\ &=-\frac {59 b c d^2 x^4 \sqrt {d-c^2 d x^2}}{768 \sqrt {1-c^2 x^2}}+\frac {17 b c^3 d^2 x^6 \sqrt {d-c^2 d x^2}}{288 \sqrt {1-c^2 x^2}}-\frac {b c^5 d^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}-\frac {5 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{128 c^2}+\frac {5}{64} d^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )+\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {\left (5 d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{128 c^2 \sqrt {1-c^2 x^2}}+\frac {\left (5 b d^2 \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{128 c \sqrt {1-c^2 x^2}}\\ &=\frac {5 b d^2 x^2 \sqrt {d-c^2 d x^2}}{256 c \sqrt {1-c^2 x^2}}-\frac {59 b c d^2 x^4 \sqrt {d-c^2 d x^2}}{768 \sqrt {1-c^2 x^2}}+\frac {17 b c^3 d^2 x^6 \sqrt {d-c^2 d x^2}}{288 \sqrt {1-c^2 x^2}}-\frac {b c^5 d^2 x^8 \sqrt {d-c^2 d x^2}}{64 \sqrt {1-c^2 x^2}}-\frac {5 d^2 x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{128 c^2}+\frac {5}{64} d^2 x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )+\frac {5}{48} d x^3 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{8} x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \sin ^{-1}(c x)\right )+\frac {5 d^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{256 b c^3 \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 196, normalized size = 0.56 \begin {gather*} \frac {d^2 \sqrt {d-c^2 d x^2} \left (45 a^2+b^2 c^2 x^2 \left (45-177 c^2 x^2+136 c^4 x^4-36 c^6 x^6\right )+6 a b c x \sqrt {1-c^2 x^2} \left (-15+118 c^2 x^2-136 c^4 x^4+48 c^6 x^6\right )+6 b \left (15 a+b c x \sqrt {1-c^2 x^2} \left (-15+118 c^2 x^2-136 c^4 x^4+48 c^6 x^6\right )\right ) \text {ArcSin}(c x)+45 b^2 \text {ArcSin}(c x)^2\right )}{2304 b c^3 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.28, size = 907, normalized size = 2.58
method | result | size |
default | \(-\frac {a x \left (-c^{2} d \,x^{2}+d \right )^{\frac {7}{2}}}{8 c^{2} d}+\frac {a x \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{48 c^{2}}+\frac {5 a d x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{192 c^{2}}+\frac {5 a \,d^{2} x \sqrt {-c^{2} d \,x^{2}+d}}{128 c^{2}}+\frac {5 a \,d^{3} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{128 c^{2} \sqrt {c^{2} d}}+b \left (-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \arcsin \left (c x \right )^{2} d^{2}}{256 c^{3} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-128 i \sqrt {-c^{2} x^{2}+1}\, x^{8} c^{8}+128 c^{9} x^{9}+256 i \sqrt {-c^{2} x^{2}+1}\, x^{6} c^{6}-320 c^{7} x^{7}-160 i \sqrt {-c^{2} x^{2}+1}\, x^{4} c^{4}+272 c^{5} x^{5}+32 i \sqrt {-c^{2} x^{2}+1}\, x^{2} c^{2}-88 c^{3} x^{3}-i \sqrt {-c^{2} x^{2}+1}+8 c x \right ) \left (i+8 \arcsin \left (c x \right )\right ) d^{2}}{16384 c^{3} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (2 i \sqrt {-c^{2} x^{2}+1}\, x^{2} c^{2}+2 c^{3} x^{3}-i \sqrt {-c^{2} x^{2}+1}-2 c x \right ) \left (-i+2 \arcsin \left (c x \right )\right ) d^{2}}{256 c^{3} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i x^{2} c^{2}-c x \sqrt {-c^{2} x^{2}+1}-i\right ) \left (73 i+312 \arcsin \left (c x \right )\right ) \cos \left (7 \arcsin \left (c x \right )\right ) d^{2}}{147456 c^{3} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i \sqrt {-c^{2} x^{2}+1}\, x c +c^{2} x^{2}-1\right ) \left (55 i+456 \arcsin \left (c x \right )\right ) \sin \left (7 \arcsin \left (c x \right )\right ) d^{2}}{147456 c^{3} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i x^{2} c^{2}-c x \sqrt {-c^{2} x^{2}+1}-i\right ) \left (13 i+12 \arcsin \left (c x \right )\right ) \cos \left (5 \arcsin \left (c x \right )\right ) d^{2}}{9216 c^{3} \left (c^{2} x^{2}-1\right )}-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i \sqrt {-c^{2} x^{2}+1}\, x c +c^{2} x^{2}-1\right ) \left (i+12 \arcsin \left (c x \right )\right ) \sin \left (5 \arcsin \left (c x \right )\right ) d^{2}}{9216 c^{3} \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i x^{2} c^{2}-c x \sqrt {-c^{2} x^{2}+1}-i\right ) \left (i+4 \arcsin \left (c x \right )\right ) \cos \left (3 \arcsin \left (c x \right )\right ) d^{2}}{1024 c^{3} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i \sqrt {-c^{2} x^{2}+1}\, x c +c^{2} x^{2}-1\right ) \left (5 i+4 \arcsin \left (c x \right )\right ) \sin \left (3 \arcsin \left (c x \right )\right ) d^{2}}{1024 c^{3} \left (c^{2} x^{2}-1\right )}\right )\) | \(907\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^2\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________